var obj = new Object();
obj.name = "frank";
obj.age = 18;
obj.height = 1.88;
obj.eating = function () {
  console.log("正在吃饭");
};

var obj2 = {
  name: "frank",
  age: 18,
  height: 1.88,
  eating() {
    console.log("吃饭");
  },
};
